{% extends "base.html" %}
{% import "_macros.html" as macros %}

{% block title %}{{ user.username }}{{ title }} - Flasky Blog{% endblock %}

{% block page_content %}
<div class="page-header">
    <h1>{{ user.username }}{{ title }}</h1>
</div>
<table class="table table-hover followers">
    <thead><tr><th>用户</th><th>关注时间</th></tr></thead>
    {% for follow in follows %}
        {% if follow.user != user %}
        <tr>
            <td>
                <a href="{{ url_for('.user', username=follow.user.username) }}">
                    <img src="{{ follow.user.gravatar(size=32) }}" class="img-rounded"> {{ follow.user.username }}
                </a>
            </td>
            <td style="vertical-align:middle;">{{ moment(follow.timestamp).format('L') }}</td>
        </tr>
        {% endif %}
    {% endfor %}
</table>
{% endblock %}